home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 16 / AMIGAplus Sonderheft 16 (1998)(ICP)(DE)[!].iso / pd / anwendungen / ispell-3.1.18bin / doc / sq1.txt < prev    next >
Text File  |  1995-09-21  |  1KB  |  67 lines

  1.  
  2.  
  3.  
  4. SQ(1)                                                       SQ(1)
  5.  
  6.  
  7. NNAAMMEE
  8.        sq  - squeeze a sorted word list unsq - unsqueeze a sorted
  9.        word list
  10.  
  11. SSYYNNOOPPSSIISS
  12.        ssqq < infile > outfile
  13.  
  14.        uunnssqq < infile > outfile
  15.  
  16. DDEESSCCRRIIPPTTIIOONN
  17.        _s_q compresses a sorted list of words (a dictionary).   For
  18.        example:
  19.               sort /usr/dict/words | sq | compress > words.sq.Z
  20.        will compress dict by about a factor of 4.
  21.  
  22.        _u_n_s_q uncompress the output of _s_q_.  For example:
  23.               compress -d < words.sq.Z | unsq | sort -f -o words
  24.        will uncompress a dictionary compressed with _s_q_.
  25.  
  26.        The  squeezing is achieved by eliminating common prefixes,
  27.        and replacing them with a single character  which  encodes
  28.        the  number  of characters shared with the preceding word.
  29.        The prefix size is encoded as a single  printable  charac-
  30.        ter:  0-9 represent 0-9, A-Z represent 10-35, and a-z rep-
  31.        resent 36-61.
  32.  
  33. AAUUTTHHOORR
  34.        Mike Wexler
  35.  
  36. SSEEEE AALLSSOO
  37.        compress(1), sort(1).
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.                               LOCAL                             1
  65.  
  66.  
  67.